public class T15 {
    public static void main(String[] args) {
        double a[] = new double[8];
        double m = 1;
        for (int b = 1; b <= a.length; b++) {
            m *= b;
        }
        System.out.println(m);
    }
}
